package priv.stones.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * @Author: Stones
 * @Description:
 * @Date: 2017-10-23
 */
@TableName("sys_commitlog")
public class SysCommitlog extends Model<SysCommitlog> {

    private static final long serialVersionUID = 1L;

	private String id;
	private String admin;

	@TableField(exist = false)
	private String adminName;
	private String method;
	private String params;
	private String eventsignature;
	private String ip;
	private Date committime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAdmin() {
		return admin;
	}

	public void setAdmin(String admin) {
		this.admin = admin;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public String getEventsignature() {
		return eventsignature;
	}

	public void setEventsignature(String eventsignature) {
		this.eventsignature = eventsignature;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getCommittime() {
		return committime;
	}

	public void setCommittime(Date committime) {
		this.committime = committime;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
